/**
 * Created with IntelliJ IDEA.
 * User: weixintao
 * Date: 15-3-19
 * Time: 下午5:18
 * To change this template use File | Settings | File Templates.
 */
package Hxw3DEngine.asset.parsers.bson.vo {
import flash.utils.ByteArray;

public class GlowVO {
    public var name:String;
    public var flags:uint;
    public var material:uint;
    public var particles_count:uint;

    public var joints:ByteArray;
    public var particles:ByteArray;

    public function GlowVO(obj:Object) {
        name = obj.name;
        flags = obj.flags;
        material = obj.material;
        particles_count = obj.particles_count;
        joints = obj.joints.data;
        particles = obj.particles.data;
    }

    public static function create(obj:Object):Object{
        return new GlowVO(obj);
    }
}
}
